//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __CVT_H__
#define __CVT_H__

#include <stddef.h>

#define CVTBUFSIZE (309+40) /* # of digits in max. dp value + slop */

#ifdef __cplusplus
extern "C" {
#endif

char * __cdecl _cvt(double value, int ndigits, size_t buffersize, int *decpt,
    int *sign, char *buf, int eflag);

void __cdecl __cfltcvt(double value, char *buffer, size_t buffersize, char fmt,
	int precision);
void __cdecl __cropzeros(char *buffer);
void __cdecl __forcdecpt(char *buffer);

#ifdef __cplusplus
}
#endif

#endif // __CVT_H__
